package com.agent.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AsCustomsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AsCustomsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNull() {
            addCriterion("agentId is null");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNotNull() {
            addCriterion("agentId is not null");
            return (Criteria) this;
        }

        public Criteria andAgentidEqualTo(Long value) {
            addCriterion("agentId =", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotEqualTo(Long value) {
            addCriterion("agentId <>", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThan(Long value) {
            addCriterion("agentId >", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThanOrEqualTo(Long value) {
            addCriterion("agentId >=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThan(Long value) {
            addCriterion("agentId <", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThanOrEqualTo(Long value) {
            addCriterion("agentId <=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidIn(List<Long> values) {
            addCriterion("agentId in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotIn(List<Long> values) {
            addCriterion("agentId not in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidBetween(Long value1, Long value2) {
            addCriterion("agentId between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotBetween(Long value1, Long value2) {
            addCriterion("agentId not between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNull() {
            addCriterion("agentName is null");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNotNull() {
            addCriterion("agentName is not null");
            return (Criteria) this;
        }

        public Criteria andAgentnameEqualTo(String value) {
            addCriterion("agentName =", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotEqualTo(String value) {
            addCriterion("agentName <>", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThan(String value) {
            addCriterion("agentName >", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThanOrEqualTo(String value) {
            addCriterion("agentName >=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThan(String value) {
            addCriterion("agentName <", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThanOrEqualTo(String value) {
            addCriterion("agentName <=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLike(String value) {
            addCriterion("agentName like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotLike(String value) {
            addCriterion("agentName not like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameIn(List<String> values) {
            addCriterion("agentName in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotIn(List<String> values) {
            addCriterion("agentName not in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameBetween(String value1, String value2) {
            addCriterion("agentName between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotBetween(String value1, String value2) {
            addCriterion("agentName not between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andCustomnameIsNull() {
            addCriterion("customName is null");
            return (Criteria) this;
        }

        public Criteria andCustomnameIsNotNull() {
            addCriterion("customName is not null");
            return (Criteria) this;
        }

        public Criteria andCustomnameEqualTo(String value) {
            addCriterion("customName =", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameNotEqualTo(String value) {
            addCriterion("customName <>", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameGreaterThan(String value) {
            addCriterion("customName >", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameGreaterThanOrEqualTo(String value) {
            addCriterion("customName >=", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameLessThan(String value) {
            addCriterion("customName <", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameLessThanOrEqualTo(String value) {
            addCriterion("customName <=", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameLike(String value) {
            addCriterion("customName like", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameNotLike(String value) {
            addCriterion("customName not like", value, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameIn(List<String> values) {
            addCriterion("customName in", values, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameNotIn(List<String> values) {
            addCriterion("customName not in", values, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameBetween(String value1, String value2) {
            addCriterion("customName between", value1, value2, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomnameNotBetween(String value1, String value2) {
            addCriterion("customName not between", value1, value2, "customname");
            return (Criteria) this;
        }

        public Criteria andCustomtypeIsNull() {
            addCriterion("customType is null");
            return (Criteria) this;
        }

        public Criteria andCustomtypeIsNotNull() {
            addCriterion("customType is not null");
            return (Criteria) this;
        }

        public Criteria andCustomtypeEqualTo(Integer value) {
            addCriterion("customType =", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeNotEqualTo(Integer value) {
            addCriterion("customType <>", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeGreaterThan(Integer value) {
            addCriterion("customType >", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("customType >=", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeLessThan(Integer value) {
            addCriterion("customType <", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeLessThanOrEqualTo(Integer value) {
            addCriterion("customType <=", value, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeIn(List<Integer> values) {
            addCriterion("customType in", values, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeNotIn(List<Integer> values) {
            addCriterion("customType not in", values, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeBetween(Integer value1, Integer value2) {
            addCriterion("customType between", value1, value2, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("customType not between", value1, value2, "customtype");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameIsNull() {
            addCriterion("customTypeName is null");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameIsNotNull() {
            addCriterion("customTypeName is not null");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameEqualTo(String value) {
            addCriterion("customTypeName =", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameNotEqualTo(String value) {
            addCriterion("customTypeName <>", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameGreaterThan(String value) {
            addCriterion("customTypeName >", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameGreaterThanOrEqualTo(String value) {
            addCriterion("customTypeName >=", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameLessThan(String value) {
            addCriterion("customTypeName <", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameLessThanOrEqualTo(String value) {
            addCriterion("customTypeName <=", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameLike(String value) {
            addCriterion("customTypeName like", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameNotLike(String value) {
            addCriterion("customTypeName not like", value, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameIn(List<String> values) {
            addCriterion("customTypeName in", values, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameNotIn(List<String> values) {
            addCriterion("customTypeName not in", values, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameBetween(String value1, String value2) {
            addCriterion("customTypeName between", value1, value2, "customtypename");
            return (Criteria) this;
        }

        public Criteria andCustomtypenameNotBetween(String value1, String value2) {
            addCriterion("customTypeName not between", value1, value2, "customtypename");
            return (Criteria) this;
        }

        public Criteria andSiteurlIsNull() {
            addCriterion("siteUrl is null");
            return (Criteria) this;
        }

        public Criteria andSiteurlIsNotNull() {
            addCriterion("siteUrl is not null");
            return (Criteria) this;
        }

        public Criteria andSiteurlEqualTo(String value) {
            addCriterion("siteUrl =", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlNotEqualTo(String value) {
            addCriterion("siteUrl <>", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlGreaterThan(String value) {
            addCriterion("siteUrl >", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlGreaterThanOrEqualTo(String value) {
            addCriterion("siteUrl >=", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlLessThan(String value) {
            addCriterion("siteUrl <", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlLessThanOrEqualTo(String value) {
            addCriterion("siteUrl <=", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlLike(String value) {
            addCriterion("siteUrl like", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlNotLike(String value) {
            addCriterion("siteUrl not like", value, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlIn(List<String> values) {
            addCriterion("siteUrl in", values, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlNotIn(List<String> values) {
            addCriterion("siteUrl not in", values, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlBetween(String value1, String value2) {
            addCriterion("siteUrl between", value1, value2, "siteurl");
            return (Criteria) this;
        }

        public Criteria andSiteurlNotBetween(String value1, String value2) {
            addCriterion("siteUrl not between", value1, value2, "siteurl");
            return (Criteria) this;
        }

        public Criteria andCustomstatusIsNull() {
            addCriterion("customStatus is null");
            return (Criteria) this;
        }

        public Criteria andCustomstatusIsNotNull() {
            addCriterion("customStatus is not null");
            return (Criteria) this;
        }

        public Criteria andCustomstatusEqualTo(Integer value) {
            addCriterion("customStatus =", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusNotEqualTo(Integer value) {
            addCriterion("customStatus <>", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusGreaterThan(Integer value) {
            addCriterion("customStatus >", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("customStatus >=", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusLessThan(Integer value) {
            addCriterion("customStatus <", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusLessThanOrEqualTo(Integer value) {
            addCriterion("customStatus <=", value, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusIn(List<Integer> values) {
            addCriterion("customStatus in", values, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusNotIn(List<Integer> values) {
            addCriterion("customStatus not in", values, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusBetween(Integer value1, Integer value2) {
            addCriterion("customStatus between", value1, value2, "customstatus");
            return (Criteria) this;
        }

        public Criteria andCustomstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("customStatus not between", value1, value2, "customstatus");
            return (Criteria) this;
        }

        public Criteria andBossnameIsNull() {
            addCriterion("bossName is null");
            return (Criteria) this;
        }

        public Criteria andBossnameIsNotNull() {
            addCriterion("bossName is not null");
            return (Criteria) this;
        }

        public Criteria andBossnameEqualTo(String value) {
            addCriterion("bossName =", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameNotEqualTo(String value) {
            addCriterion("bossName <>", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameGreaterThan(String value) {
            addCriterion("bossName >", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameGreaterThanOrEqualTo(String value) {
            addCriterion("bossName >=", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameLessThan(String value) {
            addCriterion("bossName <", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameLessThanOrEqualTo(String value) {
            addCriterion("bossName <=", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameLike(String value) {
            addCriterion("bossName like", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameNotLike(String value) {
            addCriterion("bossName not like", value, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameIn(List<String> values) {
            addCriterion("bossName in", values, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameNotIn(List<String> values) {
            addCriterion("bossName not in", values, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameBetween(String value1, String value2) {
            addCriterion("bossName between", value1, value2, "bossname");
            return (Criteria) this;
        }

        public Criteria andBossnameNotBetween(String value1, String value2) {
            addCriterion("bossName not between", value1, value2, "bossname");
            return (Criteria) this;
        }

        public Criteria andCardtypeIsNull() {
            addCriterion("cardType is null");
            return (Criteria) this;
        }

        public Criteria andCardtypeIsNotNull() {
            addCriterion("cardType is not null");
            return (Criteria) this;
        }

        public Criteria andCardtypeEqualTo(Integer value) {
            addCriterion("cardType =", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeNotEqualTo(Integer value) {
            addCriterion("cardType <>", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeGreaterThan(Integer value) {
            addCriterion("cardType >", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("cardType >=", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeLessThan(Integer value) {
            addCriterion("cardType <", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeLessThanOrEqualTo(Integer value) {
            addCriterion("cardType <=", value, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeIn(List<Integer> values) {
            addCriterion("cardType in", values, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeNotIn(List<Integer> values) {
            addCriterion("cardType not in", values, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeBetween(Integer value1, Integer value2) {
            addCriterion("cardType between", value1, value2, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("cardType not between", value1, value2, "cardtype");
            return (Criteria) this;
        }

        public Criteria andCardtypenameIsNull() {
            addCriterion("cardTypeName is null");
            return (Criteria) this;
        }

        public Criteria andCardtypenameIsNotNull() {
            addCriterion("cardTypeName is not null");
            return (Criteria) this;
        }

        public Criteria andCardtypenameEqualTo(String value) {
            addCriterion("cardTypeName =", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameNotEqualTo(String value) {
            addCriterion("cardTypeName <>", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameGreaterThan(String value) {
            addCriterion("cardTypeName >", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameGreaterThanOrEqualTo(String value) {
            addCriterion("cardTypeName >=", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameLessThan(String value) {
            addCriterion("cardTypeName <", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameLessThanOrEqualTo(String value) {
            addCriterion("cardTypeName <=", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameLike(String value) {
            addCriterion("cardTypeName like", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameNotLike(String value) {
            addCriterion("cardTypeName not like", value, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameIn(List<String> values) {
            addCriterion("cardTypeName in", values, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameNotIn(List<String> values) {
            addCriterion("cardTypeName not in", values, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameBetween(String value1, String value2) {
            addCriterion("cardTypeName between", value1, value2, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardtypenameNotBetween(String value1, String value2) {
            addCriterion("cardTypeName not between", value1, value2, "cardtypename");
            return (Criteria) this;
        }

        public Criteria andCardnumIsNull() {
            addCriterion("cardNum is null");
            return (Criteria) this;
        }

        public Criteria andCardnumIsNotNull() {
            addCriterion("cardNum is not null");
            return (Criteria) this;
        }

        public Criteria andCardnumEqualTo(String value) {
            addCriterion("cardNum =", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumNotEqualTo(String value) {
            addCriterion("cardNum <>", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumGreaterThan(String value) {
            addCriterion("cardNum >", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumGreaterThanOrEqualTo(String value) {
            addCriterion("cardNum >=", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumLessThan(String value) {
            addCriterion("cardNum <", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumLessThanOrEqualTo(String value) {
            addCriterion("cardNum <=", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumLike(String value) {
            addCriterion("cardNum like", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumNotLike(String value) {
            addCriterion("cardNum not like", value, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumIn(List<String> values) {
            addCriterion("cardNum in", values, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumNotIn(List<String> values) {
            addCriterion("cardNum not in", values, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumBetween(String value1, String value2) {
            addCriterion("cardNum between", value1, value2, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCardnumNotBetween(String value1, String value2) {
            addCriterion("cardNum not between", value1, value2, "cardnum");
            return (Criteria) this;
        }

        public Criteria andCompanytelIsNull() {
            addCriterion("companyTel is null");
            return (Criteria) this;
        }

        public Criteria andCompanytelIsNotNull() {
            addCriterion("companyTel is not null");
            return (Criteria) this;
        }

        public Criteria andCompanytelEqualTo(String value) {
            addCriterion("companyTel =", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelNotEqualTo(String value) {
            addCriterion("companyTel <>", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelGreaterThan(String value) {
            addCriterion("companyTel >", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelGreaterThanOrEqualTo(String value) {
            addCriterion("companyTel >=", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelLessThan(String value) {
            addCriterion("companyTel <", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelLessThanOrEqualTo(String value) {
            addCriterion("companyTel <=", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelLike(String value) {
            addCriterion("companyTel like", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelNotLike(String value) {
            addCriterion("companyTel not like", value, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelIn(List<String> values) {
            addCriterion("companyTel in", values, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelNotIn(List<String> values) {
            addCriterion("companyTel not in", values, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelBetween(String value1, String value2) {
            addCriterion("companyTel between", value1, value2, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanytelNotBetween(String value1, String value2) {
            addCriterion("companyTel not between", value1, value2, "companytel");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxIsNull() {
            addCriterion("companyFax is null");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxIsNotNull() {
            addCriterion("companyFax is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxEqualTo(String value) {
            addCriterion("companyFax =", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxNotEqualTo(String value) {
            addCriterion("companyFax <>", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxGreaterThan(String value) {
            addCriterion("companyFax >", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxGreaterThanOrEqualTo(String value) {
            addCriterion("companyFax >=", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxLessThan(String value) {
            addCriterion("companyFax <", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxLessThanOrEqualTo(String value) {
            addCriterion("companyFax <=", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxLike(String value) {
            addCriterion("companyFax like", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxNotLike(String value) {
            addCriterion("companyFax not like", value, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxIn(List<String> values) {
            addCriterion("companyFax in", values, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxNotIn(List<String> values) {
            addCriterion("companyFax not in", values, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxBetween(String value1, String value2) {
            addCriterion("companyFax between", value1, value2, "companyfax");
            return (Criteria) this;
        }

        public Criteria andCompanyfaxNotBetween(String value1, String value2) {
            addCriterion("companyFax not between", value1, value2, "companyfax");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeIsNull() {
            addCriterion("regDatetime is null");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeIsNotNull() {
            addCriterion("regDatetime is not null");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeEqualTo(Date value) {
            addCriterion("regDatetime =", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeNotEqualTo(Date value) {
            addCriterion("regDatetime <>", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeGreaterThan(Date value) {
            addCriterion("regDatetime >", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("regDatetime >=", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeLessThan(Date value) {
            addCriterion("regDatetime <", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("regDatetime <=", value, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeIn(List<Date> values) {
            addCriterion("regDatetime in", values, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeNotIn(List<Date> values) {
            addCriterion("regDatetime not in", values, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeBetween(Date value1, Date value2) {
            addCriterion("regDatetime between", value1, value2, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andRegdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("regDatetime not between", value1, value2, "regdatetime");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(String value) {
            addCriterion("area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(String value) {
            addCriterion("area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(String value) {
            addCriterion("area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(String value) {
            addCriterion("area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(String value) {
            addCriterion("area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(String value) {
            addCriterion("area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLike(String value) {
            addCriterion("area like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotLike(String value) {
            addCriterion("area not like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<String> values) {
            addCriterion("area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<String> values) {
            addCriterion("area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(String value1, String value2) {
            addCriterion("area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(String value1, String value2) {
            addCriterion("area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressIsNull() {
            addCriterion("companyAddress is null");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressIsNotNull() {
            addCriterion("companyAddress is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressEqualTo(String value) {
            addCriterion("companyAddress =", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressNotEqualTo(String value) {
            addCriterion("companyAddress <>", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressGreaterThan(String value) {
            addCriterion("companyAddress >", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressGreaterThanOrEqualTo(String value) {
            addCriterion("companyAddress >=", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressLessThan(String value) {
            addCriterion("companyAddress <", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressLessThanOrEqualTo(String value) {
            addCriterion("companyAddress <=", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressLike(String value) {
            addCriterion("companyAddress like", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressNotLike(String value) {
            addCriterion("companyAddress not like", value, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressIn(List<String> values) {
            addCriterion("companyAddress in", values, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressNotIn(List<String> values) {
            addCriterion("companyAddress not in", values, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressBetween(String value1, String value2) {
            addCriterion("companyAddress between", value1, value2, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andCompanyaddressNotBetween(String value1, String value2) {
            addCriterion("companyAddress not between", value1, value2, "companyaddress");
            return (Criteria) this;
        }

        public Criteria andAgentcodeIsNull() {
            addCriterion("agentCode is null");
            return (Criteria) this;
        }

        public Criteria andAgentcodeIsNotNull() {
            addCriterion("agentCode is not null");
            return (Criteria) this;
        }

        public Criteria andAgentcodeEqualTo(String value) {
            addCriterion("agentCode =", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeNotEqualTo(String value) {
            addCriterion("agentCode <>", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeGreaterThan(String value) {
            addCriterion("agentCode >", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeGreaterThanOrEqualTo(String value) {
            addCriterion("agentCode >=", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeLessThan(String value) {
            addCriterion("agentCode <", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeLessThanOrEqualTo(String value) {
            addCriterion("agentCode <=", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeLike(String value) {
            addCriterion("agentCode like", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeNotLike(String value) {
            addCriterion("agentCode not like", value, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeIn(List<String> values) {
            addCriterion("agentCode in", values, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeNotIn(List<String> values) {
            addCriterion("agentCode not in", values, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeBetween(String value1, String value2) {
            addCriterion("agentCode between", value1, value2, "agentcode");
            return (Criteria) this;
        }

        public Criteria andAgentcodeNotBetween(String value1, String value2) {
            addCriterion("agentCode not between", value1, value2, "agentcode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}